package com.wwj.study.factory.absr;

import com.wwj.study.factory.Cat;
import com.wwj.study.factory.Dog;

/**
 * Created by lenovo on 2018/11/14.
 */
public class AbstractFactoryAnimal extends AbstractFactory {
    @Override
    Cat getCat() {
        return new Cat();
    }

    @Override
    Dog getDog() {
        return new Dog();
    }
}
